const mongoose = require("mongoose");
const appConfig = require("../config/config");

mongoose.connect(appConfig.dbUrl, (err) => {
    if (err) {
        console.log(err);
        return;
    }
});

module.exports = mongoose;